﻿using System;
using Com.Pernix.Common.Exceptions;

namespace Com.Pernix.Common.Log.Exceptions
{
    public class InvalidConfigurationException:CommonException
    {
        private const string BaseMessage = "Invalid Configuration";

        public InvalidConfigurationException()
            : this(BaseMessage, null)
        {
        }

        public InvalidConfigurationException(string errorMessage)
            : this(errorMessage, null)
        {

        }
        public InvalidConfigurationException(Exception ex)
            : base(BaseMessage, ex)
        {
        }

        public InvalidConfigurationException(string errorMessage, Exception ex)
            : base(errorMessage, ex)
        {
            this.ErrorCode = "";
        }
    }
}
